package dao;

import java.util.List;

import org.apache.ibatis.annotations.Insert;

import model.User;

public interface UserInf {

	public void add(User user);

	public void addUserWithTeam(User user);
	
	public User getUserById(int id);
	
	public List<User> getAll();
	
	public List<User> getAllBySQL();
	
	public List<User> userSet(List<Integer> uIds);
	
	public List<User> getUserByCondition(String condition);
	
	public void updateUser(User user);
	
	public void updateUserTeam(User user);
	public void updateUserTeam2(User user);
	
	public void deleteUser(String id);

}
